package jfuzzyprincepless.agents;

import java.util.Collections;
import java.util.List;

import jfuzzyprincepless.negotiation.INegotiationContext;

public interface INegotiatingAgent {
	public static final INegotiatingAgent[] EMPTY_ARRAY =
		new INegotiatingAgent[0];
	public static final List<INegotiatingAgent> EMPTY_LIST =
		Collections.emptyList();

	public void onNegotiationStart(INegotiationContext context);

	/**
	 * returns true if wants to continue negotiation
	 */
	public boolean negotiate(INegotiationContext context);
}
